package org.kzwl.comm.pojo.dto.category;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.kzwl.comm.pojo.dto.book.BookDTO;

import java.util.ArrayList;
import java.util.List;

@Data
@ApiModel("分类查询")
public class CategoryDTO {

    @ApiModelProperty("分类id")
    private Integer cuCategoryId;

    @ApiModelProperty("分类名称")
    private String cuCategoryName;

    @ApiModelProperty("父级 顶级分类为0")
    private Integer cuCategoryParent;

    @ApiModelProperty("图标")
    private String cuCategoryIcon;

    @ApiModelProperty("全部分类里边的书")
    private List<BookDTO> allList = new ArrayList<>();
}
